<a ui-sref="{{menuItem.url}}" ng-class="{true : 'dropdown-toggle', false : ''}[menuItem.hasChild]">
	<i class="icon-dashboard"></i>
	<span class="menu-text"> {{ menuItem.label }} </span>
	<b class="arrow" ng-class="{true : 'icon-angle-down', false : ''}[menuItem.hasChild]"></b>
</a>
<ul class="submenu" ng-if="menuItem.children">
	<li ng-repeat="menuItem in menuItem.children" ng-include="'menu/menu-tree.tpl.html'"></li>
</ul>
